package com.xinqi.modules.prepare.prepare.dto.req;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

/**
 * 备课区成员批量-请求对象-新增
 *
 * @author: system
 * @date: 2023/04/18
 */
@Data
@Schema(description = "备课区成员批量-请求对象-新增")
public class PrepareMemberBatchCreateDTO implements Serializable {

    /**
     * 备课区id
     */
    @Schema(description = "备课区id", example = "10001", hidden = true)
    @NotNull(message = "备课区ID不能为空")
    private Long prepareId;
    /**
     * 用户id
     */
    @Schema(description = "用户ID列表", example = "[10002, 10003]")
    @NotEmpty(message = "用户ID列表不能为空")
    private List<Long> userIdList;
}
